﻿#region COPYRIGHT© 2009-2012 Phillip Clark. All rights reserved.

// For licensing information see License.txt (MIT style licensing).

#endregion

using FlitBit.Core;

namespace FlitBit.Cache
{
	internal class BenignCacheStatsCollector : Disposable, ICacheStatsCollector
	{
		public BenignCacheStatsCollector(string name)
		{
			this.Name = name;
		}

		public string Name { get; private set; }

		protected override bool PerformDispose(bool disposing)
		{
			return true;
		}

		#region ICacheStatsCollector Members

		public void IncrementHits(int increments)
		{}

		public virtual void IncrementReadAttempts()
		{}

		public void IncrementWrites()
		{}

		public void IncrementRemoves()
		{}

		public void IncrementExpired()
		{}

		public void IncrementEvictions()
		{}

		public void IncrementEvictions(int count)
		{}

		public CacheStats Sample()
		{
			return default(CacheStats);
		}

		#endregion
	}
}